/**
 * 
 */
package hu.gbalage.owlforms.api;

import hu.gbalage.owlforms.api.data.FieldValue;

/**
 * A validator can validate a Field value to ensure
 * that the given value is a member of the validated type.
 * @author Grill Balazs (balage.g@gmail.com)
 *
 */
public interface TypeValidator {

	/**
	 * @param value
	 * @return return true if the given value can be accepted
	 * as a member of the given type.
	 */
	public boolean isValid(FieldValue value);
	
}
